package org.larkdoc.model.bo;

import java.util.List;

import org.larkdoc.model.entity.DocInfo;
import org.larkdoc.model.entity.DocRelProject;
import org.larkdoc.model.entity.ProjectInfo;

/**
 * 文档业务实体
 * 
 * @author  zhangpeijun[zhangpeijun1024@qq.com]
 * @version  [v1.0.1, 2017年10月17日]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class DocBO extends DocInfo {
    
    /**
     * 注释内容
     */
    private static final long   serialVersionUID = 1L;
    
    private List<DocRelProject> projectRelDocs;
    
    private List<ProjectInfo>   projects;
    
    public List<DocRelProject> getProjectRelDocs() {
        return projectRelDocs;
    }
    
    public void setProjectRelDocs(List<DocRelProject> projectRelDocs) {
        this.projectRelDocs = projectRelDocs;
    }
    
    public List<ProjectInfo> getProjects() {
        return projects;
    }
    
    public void setProjects(List<ProjectInfo> projects) {
        this.projects = projects;
    }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("DocBO [projectRelDocs=");
        builder.append(projectRelDocs);
        builder.append(", projects=");
        builder.append(projects);
        builder.append("]");
        return builder.toString();
    }
    
}
